home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Nave / SpaceEscape.swf / scripts / frame_15 / PlaceObject2_396_12 / CLIPACTIONRECORD onClipEvent(enterFrame).as < prev    next >
Encoding:
Text File  |  2005-08-08  |  258 b   |  15 lines

  1. onClipEvent(enterFrame){
  2.    pWait--;
  3.    if(pWait == 0)
  4.    {
  5.       if(_root.levelNumber >= _root.mapsArray.length)
  6.       {
  7.          _root.gotoAndStop("gameOver");
  8.       }
  9.       else
  10.       {
  11.          _root.gotoAndStop("getReady");
  12.       }
  13.    }
  14. }
  15.